<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>管理员首页</title>
  <link rel="stylesheet" href="./../../static/manager/css/style.css">
    <script src="./../../static/manager/js/index.js"></script>
</head>
<body>
	<header class="navbar">
		<div class="logo">AdminPanel</div>
		<h1>管理员控制面板</h1>
		<div class="user-info">
			<img src="/img/admin-avatar.jpg" alt="Admin Avatar" class="avatar">
			<span>管理员</span>
			<button class="logout-btn" id="logout-btn">退出</button>
		</div>
	</header>
	<aside class="sidebar">
		<ul>
			<li><a href="index.html">工作首页</a></li>
			<li><a href="activity.html">活动管理</a></li>
			<li><a href="class.html">教学班管理</a></li>
			<li><a href="student.html">学员管理</a></li>
			<li><a href="teacher.html">教师管理</a></li>
		</ul>
	</aside>


  <main>
    <section class="home">
      <h2>工作首页</h2>
      <div class="statistics">
        <div class="stat-item">
          <h3>学生数</h3>
          <p id="student-count"></p>
        </div>
        <div class="stat-item">
          <h3>课程数</h3>
          <p id="course-count"></p>
        </div>
        <div class="stat-item">
          <h3>活动数</h3>
          <p id="activity-count"></p>
        </div>
      </div>
      <div class="quick-links">
        <button onclick="location.href='activity.html'">新建活动</button>
        <button onclick="location.href='class.html'">新建教学班</button>
      </div>
    </section>
  </main>
  <footer class="footer">
	<p>© 2024 AdminPanel, All Rights Reserved</p>
	<a href="/help">帮助</a> | <a href="/contact">联系我们</a>
	</footer>

</body>
</html>
